package com.ruoyi.system.domain.construction;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.system.domain.zhuangxiumain.shopMain.SupplierInfo;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 租赁服务信息对象 rental_service
 *
 * @author zhaodejian
 * @date 2020-11-27
 */
public class RentalService extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /** 租赁服务ID */
    private Integer rentalId;

    /** 租赁编码 */
    @Excel(name = "租赁编码")
    private String rentalCore;
    private String a;

    /** 租赁名称 */
    @Excel(name = "租赁名称")
    private String rentalName;
    private String address;
    private String supplierPic;
    private String rentalUrlAl;

    /** 商品/施工队的供应商ID */
    @Excel(name = "商品/施工队的供应商ID")
    private Integer supplierId;

    /** 施工队的分类ID */
    @Excel(name = "施工队的分类ID")
    private Integer teamId;

    /** 租赁服务价格 */
    @Excel(name = "租赁服务价格")
    private BigDecimal rentalPrice;

    /** 租赁地区 */
    @Excel(name = "租赁地区")
    private String rentalRegion;
    private String shopsName;

    /** 上下架状态：0上架下上架 */
    @Excel(name = "上下架状态：0上架下上架")
    private Integer publishStatus;

    /** 施工队描述 */
    @Excel(name = "施工队描述")
    private String descript;
    private String bianhao;
    private String biaoqianOne;

    /** 删除状态：0未删除，1已删除 */
    @Excel(name = "删除状态：0未删除，1已删除")
    private Integer rentalStatus;

    /** 最后修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "最后修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedTime;
    private BigDecimal balanceMoney;
    private Long userId;

    private SupplierInfo supplierInfo;

    private Team team;

    public String getRentalUrlAl() {
        return rentalUrlAl;
    }

    public void setRentalUrlAl(String rentalUrlAl) {
        this.rentalUrlAl = rentalUrlAl;
    }

    public String getSupplierPic() {
        return supplierPic;
    }

    public void setSupplierPic(String supplierPic) {
        this.supplierPic = supplierPic;
    }

    public String getBiaoqianOne() {
        return biaoqianOne;
    }

    public void setBiaoqianOne(String biaoqianOne) {
        this.biaoqianOne = biaoqianOne;
    }

    public String getShopsName() {
        return shopsName;
    }

    public void setShopsName(String shopsName) {
        this.shopsName = shopsName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getBianhao() {
        return bianhao;
    }

    public void setBianhao(String bianhao) {
        this.bianhao = bianhao;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public void setRentalId(Integer rentalId)
    {
        this.rentalId = rentalId;
    }

    public Integer getRentalId()
    {
        return rentalId;
    }
    public void setRentalCore(String rentalCore)
    {
        this.rentalCore = rentalCore;
    }

    public String getRentalCore()
    {
        return rentalCore;
    }
    public void setRentalName(String rentalName)
    {
        this.rentalName = rentalName;
    }

    public String getRentalName()
    {
        return rentalName;
    }
    public void setSupplierId(Integer supplierId)
    {
        this.supplierId = supplierId;
    }

    public String getA() {
        return a;
    }

    public void setA(String a) {
        this.a = a;
    }

    public Integer getSupplierId()
    {
        return supplierId;
    }
    public void setTeamId(Integer teamId)
    {
        this.teamId = teamId;
    }

    public Integer getTeamId()
    {
        return teamId;
    }
    public void setRentalPrice(BigDecimal rentalPrice)
    {
        this.rentalPrice = rentalPrice;
    }

    public BigDecimal getRentalPrice()
    {
        return rentalPrice;
    }
    public void setRentalRegion(String rentalRegion)
    {
        this.rentalRegion = rentalRegion;
    }

    public String getRentalRegion()
    {
        return rentalRegion;
    }
    public void setPublishStatus(Integer publishStatus)
    {
        this.publishStatus = publishStatus;
    }

    public Integer getPublishStatus()
    {
        return publishStatus;
    }
    public void setDescript(String descript)
    {
        this.descript = descript;
    }

    public String getDescript()
    {
        return descript;
    }
    public void setRentalStatus(Integer rentalStatus)
    {
        this.rentalStatus = rentalStatus;
    }

    public Integer getRentalStatus()
    {
        return rentalStatus;
    }
    public void setModifiedTime(Date modifiedTime)
    {
        this.modifiedTime = modifiedTime;
    }

    public Date getModifiedTime()
    {
        return modifiedTime;
    }

    public SupplierInfo getSupplierInfo() {
        return supplierInfo;
    }

    public void setSupplierInfo(SupplierInfo supplierInfo) {
        this.supplierInfo = supplierInfo;
    }

    public Team getTeam() {
        return team;
    }

    public void setTeam(Team team) {
        this.team = team;
    }

    public BigDecimal getBalanceMoney() {
        return balanceMoney;
    }

    public void setBalanceMoney(BigDecimal balanceMoney) {
        this.balanceMoney = balanceMoney;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("rentalId", getRentalId())
                .append("rentalCore", getRentalCore())
                .append("rentalName", getRentalName())
                .append("supplierId", getSupplierId())
                .append("teamId", getTeamId())
                .append("rentalPrice", getRentalPrice())
                .append("rentalRegion", getRentalRegion())
                .append("publishStatus", getPublishStatus())
                .append("descript", getDescript())
                .append("rentalStatus", getRentalStatus())
                .append("modifiedTime", getModifiedTime())
                .append("supplierInfo", getSupplierInfo())
                .append("team", getTeam())
                .toString();
    }

}
